home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Hardware / cnetdevice / readme < prev    next >
Encoding:
Text File  |  2002-10-27  |  7.0 KB  |  185 lines

  1.        --------------------------------------------------------
  2.        "cnet.device" PCMCIA ethernet card driver for A600/A1200
  3.        --------------------------------------------------------
  4.             pre-v1.2 by Bruce Abbott <bhabbott@inhb.co.nz>
  5.         v1.2 - v1.8 by Harry "Piru" Sintonen <sintonen@iki.fi>
  6.  
  7.  
  8. Introduction:
  9.  
  10.   This is an PCMCIA (aka PC Card) ethernet card SANA2 driver for
  11.   Amiga 600 and Amiga 1200 computers. Most NE2000 compatible cards
  12.   are supported (I hope).
  13.  
  14.  
  15. Requirements:
  16.  
  17.   - A compatible PCMCIA ethernet card (see the compatibility list).
  18.  
  19.   - An Amiga 1200 or Amiga 600. A1200's need a hardware mod (see
  20.     A1200mod.txt).
  21.  
  22.   - Network software. Tested with Genesis 1.0.6 and MiamiDx 1.0c.
  23.  
  24.   - A network, obviously. :-)
  25.  
  26.  
  27. Usage:
  28.  
  29.   Four different versions of cnet.device are provided:
  30.  
  31.   - cnet.device.000     - 68000 version, for stock A600s.
  32.   - cnet.device         - 68020 version, for 68020+ CPUs.
  33.   - cnet.device.turboio - 68020 version with DMA speedup hack, for
  34.                           68020+ CPUs.
  35.   - cnet.device.debug   - 68020 version with debug output to debug
  36.                           terminal enabled, use sashimi to capture.
  37.  
  38.   The 68000 version is intended to be used with unexpanded A600. The
  39.   68020 version is for machines with 68020 or better CPU.
  40.  
  41.   The `turboio' version has a special speedup hack implemented (tech:
  42.   it uses longword access to 16-bit hardware register) that in most
  43.   cases give better performance than the regular 68020 version.
  44.   However some beta testers reported that the regular version is faster.
  45.   Do your own benchmarking to figure out which one is faster for you.
  46.   If you don't care that much about the speed (the speed difference is
  47.   quite minor anyway) then just pick the regular version.
  48.  
  49.   If cnet.device fail to work properly `cnet.device.debug' probably can
  50.   help. It includes full line debug information and has extensive debug
  51.   output to debugging terminal. The output can be captured with sashimi.
  52.   Such sashimi log is recommended when reporting device bugs.
  53.  
  54.  
  55.   Simply copy the preferred version of "cnet.device" to where you want
  56.   it (usually "DEVS:networks/cnet.device") and set up your network
  57.   software for an ethernet driver. For AmiTCP 3.0 this would involve
  58.   editing the "interfaces" file and adding a line like
  59.   "cnet dev = devs:networks/cnet.device". Then you would start it up
  60.   with "ifconfig cnet0 192.168.0.1".
  61.  
  62.   With Genesis and Miami(Dx) setup is really easy, use provided
  63.   installation "wizard" to set up the network. Choose SANA2 type for
  64.   device driver, then choose `DEVS:networks/cnet.device', unit 0.
  65.  
  66.  
  67. About Netax1200:
  68.  
  69.   Netax1200 card somes with its own driver called `netax.device'. This
  70.   basically is old cnet.device, so Netax1200 users can use cnet.device
  71.   instead.
  72.  
  73.  
  74. Performance:
  75.  
  76.   My network consists of an A1200 603e+/240MHz/060/50MHz connected via
  77.   coax cable to a P120 laptop. Software on the Amiga is AmigaOS 3.5 +
  78.   Genesis 1.0.6 and on the laptop Debian 2.2. The amiga has Apollo RE450CT
  79.   pcmcia card and the laptop has 3com EtherLink III pcmcia card. FTP
  80.   download from laptop have reached 786Kbytes/Sec. On overclocked 060
  81.   systems speeds of >819Kbytes/Sec have been reported.
  82.  
  83.   <flame>
  84.   Note that Miami and MiamiDx are a lot slower than AmiTCP/IP based
  85.   (Genesis) systems! Nothing can be done to help here, complaints to
  86.   Mr Kruse of nordicglobal <kruse@nordicglobal.com>. And NO I will NOT
  87.   make MNI driver for Miami(Dx) because for some lame excuse MNI devkit
  88.   is kept private! (aargh)
  89.  
  90.   My advice is: use the better protocol stack, Genesis.
  91.   </flame>
  92.  
  93.  
  94. Limitations:
  95.  
  96.   A1200s require an internal modification to the CreditCardReset line
  97.   to ensure correct card initialisation. If you haven't done this mod,
  98.   you may need to wait until after powering up your A1200 before plugging
  99.   the card in. If the 'Link' LED stays on but you are using coax cable,
  100.   this indicates that the card is NOT working properly. Also, sometimes
  101.   the card can appear to be OK but still doesn't work correctly.
  102.  
  103.   If you don't think you can manage the hack, contact your local amiga
  104.   dealer for plug'n'play PCMCIA-reset-fix -circuit.
  105.  
  106.   NOTE: This hardware mod is not necessarily needed, you can use
  107.   <aminet:util/boot/CardReset.lha> or
  108.   <aminet:util/boot/BK_CardReset.lha> instead.
  109.   Alternatively you can use CardPatch, which should improve card.resource
  110.   even more:
  111.   <aminet:util/boot/CardPatch.lha>.
  112.  
  113.  
  114. Surf Squirrel Problems:
  115.  
  116.   The Surf Squirrel SCSI/Serial adapter is not a proper PCMCIA card, and
  117.   has no attribute memory. Unfortunately, its driver takes over the PCMCIA
  118.   port and prevents other drivers from owning their cards. This will happen
  119.   whenever squirrelscsi.device is opened, even if the Surf Squirrel card is
  120.   never plugged in!
  121.  
  122.  
  123. Card_info Diagnostic Tool:
  124.  
  125.   The `card_info' program can be used to identify a PCMCIA card, and
  126.   will display a summary of its attributes. It also produces a binary
  127.   dump of the attribute and I/O memory, which can be analysed for more
  128.   detailed information. `card_info' is quite useful as it can be used to
  129.   find out if the card and the hardware mod work. *However*, just the fact
  130.   that the network card is detected by card_info doesn't yet guarantee it
  131.   would work with cnet.device!
  132.  
  133.  
  134. Example Network Files:
  135.  
  136.   Because many people seem to have trouble setting up an Ethernet network,
  137.   I have included a copy of my own network configuration and startup script
  138.   files, which you can use as a template for your own installation. Please
  139.   change the username etc. to suit. (These files are by Bruce Abbott
  140.   <bhabbott@inhb.co.nz>, nowadays quite obsolete since both major Amiga
  141.   TCP/IP stacks have installation "wizard")
  142.  
  143.  
  144. Building:
  145.  
  146.   src directory contains the full source code for cnet.device. You need
  147.   standard make, phxass, phxlnk and os-includes to compile. Everything
  148.   needed excluding os-includes are available on aminet. os-includes are
  149.   available on devcd2.1 for example. After installing make, phxass and
  150.   phxlnk within standard path do the following to compile:
  151.  
  152.   > cd src
  153.   > assign os-include: ADCD_2.1:NDK/NDK_3.5/Include/include_i/
  154.   > make
  155.  
  156.   This results four cnet.device binaries to src directory.
  157.  
  158.  
  159. Legal Mush:
  160.  
  161.   Original note by Bruce Abbott <bhabbott@inhb.co.nz>:
  162.  
  163.   <quote>
  164.  
  165.   To encourage further development in PC-CARD devices for the Amiga, I am
  166.   placing the source code for this project into the Public Domain. You
  167.   can freely use or abuse it as you wish. I have also included some other
  168.   authors' code for reference purposes, please respect their copyrights.
  169.  
  170.   Please note that this driver is not a finished product, and is almost
  171.   certain to harbour a few bugs. Thus I will not be held responsible for
  172.   any loss or injury that you may incur while using it.
  173.  
  174.   I cannot guarantee compatibility with your system. All I can say is it
  175.   works for me.
  176.  
  177.   </quote>
  178.  
  179.   Special thanks go to Bruce Abbott for making cnet.device public domain.
  180.   This `legal mush' quote still applies, although I tried to remove as
  181.   many bugs as I could. cnet.device v1.2 - v1.8 are still public domain
  182.   and full source code is included. Enjoy!
  183.  
  184.   - Harry "Piru" Sintonen, 27th Oct 2002.
  185.